package com.joysuch.wwyt.bp.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.joysuch.wwyt.common.entity.UserDataEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author zr
 * @since 2021-11-26
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("wwyt_inspect_exception_alarm_mesage")
@ApiModel(value="InspectExceptionAlarmMesage对象", description="")
public class InspectExceptionAlarmMesage extends UserDataEntity {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "风险点id")
    private Long riskPointId;

    @ApiModelProperty(value = "报警类型")
    private Integer monitoringType;

    @ApiModelProperty(value = "报警内容")
    private String detail;

    @ApiModelProperty(value = "排查人员的ids")
    private String inspectUser;

    @ApiModelProperty(value = "报警时间")
    private Date alarmTime;

    @ApiModelProperty(value = "报警原因")
    private String alarmReason;

    @ApiModelProperty(value = "状态,0：未处理  1：已处理")
    private Integer state;

    @ApiModelProperty(value = "处理时间")
    private Date handleTime;

    private String remark;

    @ApiModelProperty(value = "处理人")
    private Long handleBy;

    @ApiModelProperty(value = "报警级别名称:蓝-黄-橙-红")
    private String levelName;

    @ApiModelProperty(value = "推送时间")
    private java.time.LocalDateTime pushTime;

    private String procInstId;

}
